﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DELVE_GAME.ViewStructure.GameActions
{
    class SendAllianceRequestGameAction : GameAction
    {
        Game game;
        int targetPlayer;
        View view;
        public SendAllianceRequestGameAction(View view, Game game, int targetPlayer)
        {
            this.game = game;
            this.targetPlayer = targetPlayer;
            this.view = view;
        }

        public override void doAction()
        {
            game.sendAllianceRequest(targetPlayer);
            //view.setRequestSent(targetPlayer);
        }
    }
}
